#ifndef STUDMODEL_H
#define STUDMODEL_H
/***
*学生信息
*/

#include "head.h"

class StudModel
{
public:
    StudModel();

private:
    QString code;
    QString name;
    qint8 sex;
    QDate enroldate;               //入学日期
    QDate enroltraindate;          //第一次到培训班时间
    qint8 reptnum;                  //留级次数

public:
    QString getCode(){return code;}
    void setCode(QString code){this->code=code;}

    QString getName(){return name;}
    void setName(QString name){this->name=name;}

    qint8 getSex(){return this->sex;}
    void setSex(qint8 sex){this->sex=sex;}

    QDate getEnrolDate(){return this->enroldate;}
    void setEnrolDate(QDate enroldate){this->enroldate=enroldate;}

    QDate getEnrolTrainDate(){return this->enroltraindate;}
    void setEnrolTrainDate(QDate enroltraindate){this->enroltraindate=enroltraindate;}

    qint8 getReptnum(){return this->reptnum;}
    void setReptnum(qint8 reptnum){this->reptnum=reptnum;}
};

#endif // STUDMODEL_H
